package com.bsit.obu.model;

import java.io.Serializable;

/**
 * Created by dreamer on 2016/11/24.
 * 车信息返回数据结构为： 长度 + 随机数 + 车辆信息，按照下记类属性的顺序进行拼装的
 */
public class CarSecondPublicInfo implements Serializable{
    String messageCode;
    /**
     * 车牌号（12字节）
     */
    String palteNo;
    /**
     * 车牌颜色（2）
     */
    String plateColor;
    /**
     * 车型（1）
     */
    int carType;
    /**
     * 用户类型（1）
     */
    String userType;
    /**
     * 车辆尺寸（dm 长宽高 211）
     */
    String plataSize;
    /**
     * //核定载质量/准牵引总质量(kg)
     */
    int tractionMass;
    /**
     * 整备质量(kg)
     */
    int curbWeight;
    /**
     * 核定载人数
     */
    int passagerCapacity;
    /**
     * 车辆总质量(kg)
     */
    int totalMass;



    //发动机编号
    String engineNo;
    public String getEngineNo() {
        return engineNo;
    }

    public void setEngineNo(String engineNo) {
        this.engineNo = engineNo;
    }

    public String getPalteNo() {
        return palteNo;
    }

    public void setPalteNo(String palteNo) {
        this.palteNo = palteNo;
    }

    public String getPlateColor() {
        return plateColor;
    }

    public void setPlateColor(String plateColor) {
        this.plateColor = plateColor;
    }

    public int getCarType() {
        return carType;
    }

    public void setCarType(int carType) {
        this.carType = carType;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPlataSize() {
        return plataSize;
    }

    public void setPlataSize(String plataSize) {
        this.plataSize = plataSize;
    }

    public int getTractionMass() {
        return tractionMass;
    }

    public void setTractionMass(int tractionMass) {
        this.tractionMass = tractionMass;
    }

    public int getCurbWeight() {
        return curbWeight;
    }

    public void setCurbWeight(int curbWeight) {
        this.curbWeight = curbWeight;
    }

    public int getPassagerCapacity() {
        return passagerCapacity;
    }

    public void setPassagerCapacity(int passagerCapacity) {
        this.passagerCapacity = passagerCapacity;
    }

    public int getTotalMass() {
        return totalMass;
    }

    public void setTotalMass(int totalMass) {
        this.totalMass = totalMass;
    }

    public String getMessageCode() {
        return messageCode;
    }

    public void setMessageCode(String messageCode) {
        this.messageCode = messageCode;
    }

    @Override
    public String toString() {
        return "CarSecondPublicInfo{" +
                "engineNo='" + engineNo + '\'' +
                "messageCode='" + messageCode + '\'' +
                ", palteNo='" + palteNo + '\'' +
                ", plateColor='" + plateColor + '\'' +
                ", carType='" + carType + '\'' +
                ", userType='" + userType + '\'' +
                ", plataSize='" + plataSize + '\'' +
                ", tractionMass='" + tractionMass + '\'' +
                ", curbWeight='" + curbWeight + '\'' +
                ", passagerCapacity='" + passagerCapacity + '\'' +
                ", totalMass='" + totalMass + '\'' +
                '}';
    }
}
